package cn.cau.epidemicsurveysystem.service;

import cn.cau.epidemicsurveysystem.bean.StaffInfoBean;

import java.util.List;

public interface StaffInfoService {
    public StaffInfoBean findStaffByNo(String staffNo);
    public StaffInfoBean findStaffById(int staffId);
    public List<StaffInfoBean> findall();
    public List<StaffInfoBean> findStaffInfoBeansByStaffWorkStateAndStaffWorkAreaOrderByStaffNo(int state,String area);
    List<StaffInfoBean> findStaffInfoBeansByStaffWorkStateAndStaffWorkAreaAndStaffPositionOrderByStaffNo(int state, String area,String position);
    public StaffInfoBean save(StaffInfoBean staffInfoBean);
    public boolean updateStaffInfo(StaffInfoBean staffInfoBean);
}
